// 页面列表
const components = {}
const slotsFiles = import.meta.glob('./*/index.js', { import: 'default', eager: true })
Object.keys(slotsFiles).forEach(key => {
    const tag = key.replace(/^.\/(.*)\/\w+\.\w+$/, '$1')
    const value = slotsFiles[key]
    components[tag] = value
})

export default components